﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkshopModule.Models;

namespace WorkshopModule.DbContexts {
    //数据库上下文
    public class WorkshopDbContext : DbContext {
        //构造函数
        public WorkshopDbContext(DbContextOptions<WorkshopDbContext> options) : base(options) { }
        //
        public virtual DbSet<DeviceDetail> DeviceDetail { get; set; }
    }
}
